package speed;

public class PopSort {
	public static void main(String[] args) {
		int arr[] = {22,44,33,55,88,11};
		for(int i = 0;i <arr.length ;i++) {
			for(int j = 1;j< arr.length;j++) {
				int temp = arr[j-1];
				if(arr[j-1]<arr[j]) {
					arr[j-1] = arr[j];
					arr[j] = temp;
				}
			}
		}
		for(int i = 0;i < arr.length; i++) {
			System.out.println(arr[i]);
		}
	}

}
